//
//  InquiryPriceSearchResultViewController.m
//  NewApp
//
//  Created by  on 12-7-9.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "InquiryPriceSearchResultViewController.h"

@interface InquiryPriceSearchResultViewController ()

@end

@implementation InquiryPriceSearchResultViewController

- (void)viewDidLoad {
    [super viewDidLoad];

}

- (void) dealloc {
    [super dealloc];
}

- (void) loadRequest {
    [self.engine inquiryPriceDetailsWithCategoryID:self.ID keyword:self.keyword page:1];
}

- (void) searchButtonDidPressed {
    if (_searchBar.keywordTextfield.text.length == 0) 
        return;
    
    [self.engine inquiryPriceDetailsWithCategoryID:self.ID keyword:_searchBar.keywordTextfield.text page:1];
}


@end
